


let TexTipsShow = require('TexTipsShow').default;
let MonoSingle = require('MonoSingle').default;
var e = require;
var t = module;
var n = exports;
var o,
    i =
        (this && this.__extends) ||
        ((o = function (e, t) {
            return (o =
                Object.setPrototypeOf ||
                ({__proto__: []} instanceof Array &&
                    function (e, t) {
                        e.__proto__ = t;
                    }) ||
                function (e, t) {
                    for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
                })(e, t);
        }),
        function (e, t) {
            function n() {
                this.constructor = e;
            }
            o(e, t), (e.prototype = null === t ? Object.create(t) : ((n.prototype = t.prototype), new n()));
        }),
    r =
        (this && this.__decorate) ||
        function (e, t, n, o) {
            var i,
                r = arguments.length,
                a = r < 3 ? t : null === o ? (o = Object.getOwnPropertyDescriptor(t, n)) : o;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, o);
            else
                for (var s = e.length - 1; 0 <= s; s--)
                    (i = e[s]) && (a = (r < 3 ? i(a) : 3 < r ? i(t, n, a) : i(t, n)) || a);
            return 3 < r && a && Object.defineProperty(t, n, a), a;
        },
    a =
        (this && this.__awaiter) ||
        function (e, a, s, c) {
            return new (s = s || Promise)(function (n, t) {
                function o(e) {
                    try {
                        r(c.next(e));
                    } catch (e) {
                        t(e);
                    }
                }
                function i(e) {
                    try {
                        r(c.throw(e));
                    } catch (e) {
                        t(e);
                    }
                }
                function r(e) {
                    var t;
                    e.done
                        ? n(e.value)
                        : ((t = e.value) instanceof s
                              ? t
                              : new s(function (e) {
                                    e(t);
                                })
                          ).then(o, i);
                }
                r((c = c.apply(e, a || [])).next());
            });
        },
    s =
        (this && this.__generator) ||
        function (n, o) {
            var i,
                r,
                a,
                s = {
                    label: 0,
                    sent: function () {
                        if (1 & a[0]) throw a[1];
                        return a[1];
                    },
                    trys: [],
                    ops: []
                },
                e = {next: t(0), throw: t(1), return: t(2)};
            return (
                "function" == typeof Symbol &&
                    (e[Symbol.iterator] = function () {
                        return this;
                    }),
                e
            );
            function t(t) {
                return function (e) {
                    return (function (t) {
                        {
                            if ((0, i)) throw new TypeError("Generator is already executing.");
                            for (; s; )
                                try {
                                    if (
                                        ((i = 1),
                                        r &&
                                            (a =
                                                2 & t[0]
                                                    ? r.return
                                                    : t[0]
                                                    ? r.throw || ((a = r.return) && a.call(r), 0)
                                                    : r.next) &&
                                            !(a = a.call(r, t[1])).done)
                                    )
                                        return a;
                                    switch (((r = 0), (t = a ? [2 & t[0], a.value] : t)[0])) {
                                        case 0:
                                        case 1:
                                            a = t;
                                            break;
                                        case 4:
                                            return s.label++, {value: t[1], done: !1};
                                        case 5:
                                            s.label++, (r = t[1]), (t = [0]);
                                            continue;
                                        case 7:
                                            (t = s.ops.pop()), s.trys.pop();
                                            continue;
                                        default:
                                            if (
                                                !(a = 0 < (a = s.trys).length && a[a.length - 1]) &&
                                                (6 === t[0] || 2 === t[0])
                                            ) {
                                                s = 0;
                                                continue;
                                            }
                                            if (3 === t[0] && (!a || (t[1] > a[0] && t[1] < a[3]))) {
                                                s.label = t[1];
                                                break;
                                            }
                                            if (6 === t[0] && s.label < a[1]) {
                                                (s.label = a[1]), (a = t);
                                                break;
                                            }
                                            if (a && s.label < a[2]) {
                                                (s.label = a[2]), s.ops.push(t);
                                                break;
                                            }
                                            a[2] && s.ops.pop(), s.trys.pop();
                                            continue;
                                    }
                                    t = o.call(n, s);
                                } catch (e) {
                                    (t = [6, e]), (r = 0);
                                } finally {
                                    i = a = 0;
                                }
                            if (5 & t[0]) throw t[1];
                            return {value: t[0] ? t[1] : void 0, done: !0};
                        }
                    })([t, e]);
                };
            }
        };
Object.defineProperty(n, "__esModule", {value: !0});
var c,
    l = e("Excelkeyvalue"),
    m = e("index"),
    p = e("events"),
    u = e("platform-const"),
    h = e("sound"),
    d = e("vibrate"),
    f = e("cell-item"),
    y = e("coin"),
    g = e("deal-coin"),
    v = e("shuffle-coin"),
    b = e("guide-manager"),
    _ = e("panel-manager"),
    w = e("player-coin"),
    C = e("player-info"),
    k = e("player-theme"),
    t = cc._decorator,
    e = t.ccclass,
    t = t.property,
    e =
        ((c = cc.Component),
        i(S, c),
        (S.prototype.start = function () {
            a(this, void 0, void 0, function () {
                var t;
                return s(this, function (e) {
                    switch (e.label) {
                        case 0:
                            return e.trys.push([0, 2, , 3]), [4, Promise.all([this.loadCells(), this.loadCoin()])];
                        case 1:
                            return e.sent(), this.setCellSiblingIndex(), this.InitCells(), [3, 3];
                        case 2:
                            return (t = e.sent()), console.log("loading item error:", t), [3, 3];
                        case 3:
                            return [2];
                    }
                });
            });
        }),
        (S.prototype.setCellSiblingIndex = function () {
            this.cellParent.getComponent(cc.Layout).updateLayout(),
                (this.cellParent.getComponent(cc.Layout).enabled = !1);
            for (var e = this.cellItems.length - 1; 0 <= e; --e) this.cellItems[e].node.setSiblingIndex(100 + e);
        }),
        (S.prototype.cellNext = function (e) {
            this.cellItems[e + 1] &&
                this.cellItems[e + 1].showUnlocking() &&
                this.cellItems[e + 2] &&
                this.cellItems[e + 2].setLockOpacity(!1);
        }),
        (S.prototype.unlockAdsCell = function (e) {
            C.playerInfo.setAdsCellLock(e, !1), this.cellItems[e] && this.cellItems[e].unlockAds(), this.checkDeal();
        }),
        (S.prototype.recoveryCoin = function (e) {
            e.node.removeFromParent(), (e.node.parent = this.node), this.idleCoins.push(e);
        }),
        (S.prototype.chooseCell = function (e, t) {
            var n = this;
            if (!this.isMoveing)
                if (this.cellItems && this.cellItems[e]) {
                    if (null != this.oldChooseIdx && this.oldChooseIdx != e && this.cellItems[this.oldChooseIdx]) {
                        var o = this.cellItems[this.oldChooseIdx].getFirstNum(),
                            i = this.cellItems[e].getCanAddCount(),
                            o = o && o === this.cellItems[e].getFirstNum();
                        if ((o = this.cellItems[e].getCoinItemCount() <= 0 ? !0 : o) && 0 < i) {
                            console.log("chooseCell....moveCell");
                            i = this.cellItems[this.oldChooseIdx].getMoveCoin(i, !0);
                            return (
                                this.moveCell(this.oldChooseIdx, e, i),
                                (this.oldChooseIdx = null),
                                void d.vibrate.play(d.VibrateNewType.SHORT)
                            );
                        }
                        this.cellItems[this.oldChooseIdx].setChoose(!1, null, !0),
                            h.sound.play(h.Sound.WARN),
                            d.vibrate.play(d.VibrateNewType.SHORT),
                            (this.oldChooseIdx = null);
                    } else
                        h.sound.play(h.Sound.CHOOSECOIN),
                            0 !== this.cellItems[e].getCoinItemCount() &&
                                (d.vibrate.play(d.VibrateNewType.SHORT),
                                this.cellItems[e].setChoose(!t, function () {
                                    b.GuideManager.ins.checkGuide(b.GuideStep.place, n.cellItems[2].node) ||
                                        b.GuideManager.ins.checkGuide(b.GuideStep.place1, n.cellItems[1].node) ||
                                        b.GuideManager.ins.checkGuide(b.GuideStep.place2, n.cellItems[1].node);
                                }),
                                (this.oldChooseIdx = t ? null : e));
                } else console.log("chooseCell error:", e);
        }),
        (S.prototype.moveCell = function (o, i, r, a) {
            var s = this;
            if ((void 0 === a && (a = !0), r || !(r.length <= 0))) {
                this.cellItems[o].setIsNoTouch(!0),
                    this.cellItems[i].setIsNoTouch(!0),
                    p.operEvent.emit({action: p.default.dealBtn2, data: {isCan: !1}}),
                    this.cellItems[o].setChoose(!1),
                    this.cellItems[i].setChoose(!1);
                for (var c, l, u = this, e = r.length - 1; 0 <= e; --e)
                    !(function (e) {
                        var t = r[e],
                            n = t.node.convertToWorldSpaceAR(cc.Vec2.ZERO),
                            n = u.node.convertToNodeSpaceAR(n);
                        t.node.removeFromParent(),
                            (t.node.parent = u.node),
                            t.node.setPosition(n),
                            (c = u.cellItems[i].getPosition(u.node, e, r.length)),
                            (l = u.coinChangeDelayTime - e * u.coinDelayTime),
                            t.moveTo(
                                c,
                                l,
                                e * u.coinDelayTime,
                                function () {
                                    0 === e &&
                                        (s.cellItems[o].setIsNoTouch(!1),
                                        s.cellItems[i].setIsNoTouch(!1),
                                        s.cellItems[i].addCoins(r),
                                        s.cellItems[i].updateCell(),
                                        s.setMoveing(!1),
                                        s.cellItems[o].isAdsCell() &&
                                            0 === s.cellItems[o].getCoinItemCount() &&
                                            (s.showOneAdsCanUnlock(!0)
                                                ? s.cellItems[o].setLock(!0)
                                                : s.cellItems[o].showAdsUnlock(!0),
                                            C.playerInfo.setAdsCellLock(o, !0),
                                            m.platform.trackEvent("closeADArea", {bool: !0})),
                                        C.playerInfo.checkGuide(b.GuideStep.choose1) &&
                                            b.GuideManager.ins.checkGuide(b.GuideStep.choose2, s.cellItems[2].node));
                                },
                                a
                            );
                    })(e);
            }
        }),
        (S.prototype.showOneAdsCanUnlock = function (e) {
            for (
                var t, n = null, o = l.default.GetLine(1).adsLockCount, i = C.playerInfo.getMaxCellCount(), r = o - 1;
                r < i;
                r++
            )
                if ((t = this.cellItems[r]).getIsLock() && t.getIsAdsLocking()) {
                    n = t;
                    break;
                }
            for (r = o - 1; r < i; r++)
                (t = this.cellItems[r]).getIsLock() &&
                    (n && n != t ? t.setLock(!0) : n || (t.showAdsUnlock(e), (n = t)));
            return n;
        }),
        (S.prototype.loadCells = function () {
            return a(this, void 0, void 0, function () {
                var t, n, o, i, r;
                return s(this, function (e) {
                    switch ((0, e.label)) {
                        case 0:
                            return (
                                (t = k.playerTheme.getCurThemeName()),
                                [4, m.ResUtil.loadPrefab("prefab/prefab/" + t + "/cell-item")]
                            );
                        case 1:
                            for (n = e.sent(), o = C.playerInfo.getMaxCellCount(), i = 0; i < o; i++)
                                ((r = cc.instantiate(n)).parent = this.cellParent),
                                    (r = r.getComponent(f.default)),
                                    this.cellItems.push(r);
                            return [2];
                    }
                });
            });
        }),
        (S.prototype.loadCoin = function () {
            return a(this, void 0, void 0, function () {
                var t, n;
                return s(this, function (e) {
                    switch (e.label) {
                        case 0:
                            return (
                                (t = k.playerTheme.getCurThemeName()),
                                (n = this),
                                [4, m.ResUtil.loadPrefab("prefab/prefab/" + t + "/coin")]
                            );
                        case 1:
                            return (n.coinPrefab = e.sent()), [2];
                    }
                });
            });
        }),
        (S.prototype.InitCells = function (e) {
            var t = this;
            void 0 === e && (e = !1);
            var n = C.playerInfo.getMaxCellCount();
            if (this.cellItems.length === n) {
                w.playerCoin.initCellData();
                for (var o = 0, i = -1, r = 0; r < this.cellItems.length; r++)
                    this.cellItems[r].init(r, e, this.coinPrefab, function () {
                        ++o === t.cellItems.length &&
                            (t.checkMerge(),
                            t.checkDeal(),
                            t.checkShuffle(),
                            t.showOneAdsCanUnlock(!1),
                            t.checkAllGuide());
                    }) && (i = r);
                0 <= i && this.cellItems[i + 1] && this.cellItems[i + 1].setLockOpacity(!1);
            } else console.log("InitCells load count error:", this.cellItems.length, n);
        }),
        (S.prototype.checkAllGuide = function () {
            var e = C.playerInfo.getMaxCellCount();
            this.cellItems.length === e && b.GuideManager.ins.checkAllGuide(this.cellItems);
        }),
        (S.prototype.checkMerge = function () {
            this.mergeCellIdxs = [];
            for (var e = 0; e < this.cellItems.length; e++)
                this.cellItems[e].isCanMerge() && this.mergeCellIdxs.push(e);
            p.operEvent.emit({action: p.default.mergeBtnCount, data: {count: this.mergeCellIdxs.length}});
        }),
        (S.prototype.merge = function () {
            var o = this;
            if (this.mergeCellIdxs.length <= 0) console.log("merge eror length:", this.mergeCellIdxs.length);
            else {
                p.operEvent.emit({action: p.default.dealBtn, data: {isCan: !1}}),
                    p.operEvent.emit({action: p.default.shuffleBtn2, data: {isCan: !1}}),
                    this.setChoose(!1),
                    h.sound.play(h.Sound.GETNEWCOIN);
                var i = 0,
                    r = w.playerCoin.getCoinMaxNumber(),
                    a = [].concat(this.mergeCellIdxs);
                this.mergeCellIdxs = [];
                for (var s = this, e = 0; e < a.length; e++)
                    !(function (t) {
                        var e = a[t],
                            n = s.cellItems[e];
                        n &&
                            (n.setIsNoTouch(!0),
                            i < n.getFirstNum() + 1 && (i = n.getFirstNum() + 1),
                            n.merge(function () {
                                var e;
                                n.setIsNoTouch(!1),
                                    t === a.length - 1 &&
                                        (o.checkAdsCell(a) || o.setMoveing(!1),
                                        o.checkShuffle(),
                                        o.checkDeal(),
                                        o.checkCoinMaxNumber(i),
                                        p.operEvent.emit({action: p.default.guideDeal, data: {}}),
                                        (e = w.playerCoin.getCoinMaxNumber()),
                                        r != e &&
                                            (m.platform.trackEvent("getNumber", {number: e}),
                                            8 === e &&
                                                m.platform.string() !== u.PlatformCode.Wechat && ""));
                                               // _.PanelManager.ins.open("prefab/panel/addDesktopPanel", null)));
                            }));
                    })(e);
            }
        }),
        (S.prototype.checkAdsCell = function (e) {
            var n = !1,
                o = this.getCellAddCellCountMap();
            if (0 === o.size) return n;
            for (var t = l.default.GetLine(1).mergeNum, i = 0; i < e.length; i++) {
                var r = e[i],
                    a = this.cellItems[r];
                a &&
                    a.isAdsCell() &&
                    0 < o.size &&
                    this.moveAdsCoin(t, o, r, function (e, t) {
                        (o = e), t && (n = !0);
                    });
            }
            return n;
        }),
        (S.prototype.moveAdsCoin = function (n, e, t, o) {
            var i = !1,
                r = [];
            if (
                (e.forEach(function (e, t) {
                    n <= e && r.push(t);
                }),
                0 < r.length)
            ) {
                var a = r[m.randomInt(0, r.length - 1)],
                    s = this.cellItems[t].getMoveCoin(n);
                this.moveCell(t, a, s, !1);
                var c = e.get(a);
                return 0 < c - n ? e.set(a, c - n) : e.delete(a), void o(e, (i = !0));
            }
            var l = [],
                u = 0;
            if (
                (e.forEach(function (e, t) {
                    l.push(t), (u += e);
                }),
                u < n)
            )
                o(e, i);
            else {
                for (var i = !0, p = 0; p < n; p++) {
                    var h = m.randomInt(0, l.length - 1),
                        d = l[h],
                        f = e.get(d),
                        s = this.cellItems[t].getMoveCoin(1);
                    this.moveCell(t, d, s, !1), 0 < f - 1 ? e.set(d, f - 1) : (e.delete(d), l.splice(h, 1));
                }
                o(e, i);
            }
        }),
        (S.prototype.checkCoinMaxNumber = function (i) {
            var r = this;
            C.playerInfo.getCurTargetNumber(function (e, t) {
                var n, o;
                e === i &&
                    ((n = C.playerInfo.getTargetNumbers()),
                    (e = l.default.GetLine(1).defaultCells),
                    t === n.length - 1
                        ? ((r.isMoveing = !0),
                          (o = C.playerInfo.getMaxCellCount()),
                          C.playerInfo.upgrade(i, o),
                          p.operEvent.emit({action: p.default.upgrade, data: {num: i}}),
                          p.operEvent.emit({action: p.default.dealBtn, data: {isCan: !1}}),
                          p.operEvent.emit({action: p.default.mergeBtn, data: {isCan: !1}}),
                          p.operEvent.emit({action: p.default.shuffleBtn, data: {isCan: !1}}))
                        : (C.playerInfo.setNumber(i),
                          (o = r.cellItems[e + t]) &&
                              o.showUnlocking() &&
                              r.cellItems[e + t + 1] &&
                              r.cellItems[e + t + 1].setLockOpacity(!1),
                          p.operEvent.emit({action: p.default.unlocknNumber, data: {num: i}})));
            });
        }),
        (S.prototype.getCellAddCellCountMap = function () {
            for (
                var e = C.playerInfo.getUnlockCell(), t = Math.min(this.cellItems.length, e), n = new Map(), o = 0;
                o < t;
                ++o
            ) {
                var i = this.cellItems[o].getCanAddCount();
                0 < i && n.set(o, i);
            }
            return n;
        }),
        (S.prototype.setMoveing = function (e) {
            (this.isMoveing = e),
                p.operEvent.emit({action: p.default.dealBtn, data: {isCan: !e}}),
                e
                    ? p.operEvent.emit({action: p.default.mergeBtn, data: {isCan: !e}})
                    : (this.checkMerge(), this.checkShuffle());
        }),
        (S.prototype.deal = function (e) {
            void 0 === e && (e = !1),
                this.setMoveing(!0),
                this.setChoose(!1),
                p.operEvent.emit({action: p.default.shuffleBtn2, data: {isCan: !1}}),
                this.addCoinCounts.clear();
            e = g.dealCoin.getDealCoinByCell(this.cellItems, e);
            this.addCoins(e);
        }),
        (S.prototype.deal10Max = function () {
            this.setMoveing(!0),
                this.setChoose(!1),
                p.operEvent.emit({action: p.default.shuffleBtn2, data: {isCan: !1}}),
                this.addCoinCounts.clear();
            var e = this.getCellAddCellCountMap(),
                e = g.dealCoin.getDeal10MaxCoin(e);
            this.addCoins(e);
        }),
        (S.prototype.addCoins = function (r) {
            var a = this,
                s = 0;
            r.forEach(function (e) {
                for (var t = 0, n = 0; n < e.length; n++) {
                    var o = e[n],
                        i = !1;
                    o.isUnknown ? (2 === t && (i = !0), t++) : (t = 0),
                        a.addCoin(o, n, e.length, i, function () {
                            ++s === r.size &&
                                (a.addCoinCounts.forEach(function (e, t) {
                                    a.cellItems[t].updateCell();
                                }),
                                a.setMoveing(!1),
                                a.checkDeal(),
                                a.checkShuffle(),
                                b.GuideManager.ins.checkGuide(b.GuideStep.choose1, a.cellItems[0].node) ||
                                    p.operEvent.emit({action: p.default.guideTarget, data: {}}));
                        });
                }
            });
        }),
        (S.prototype.checkDeal = function () {
            var e = this.getCellAddCellCountMap();
			MonoSingle.canvasNode.getComponentInChildren(TexTipsShow).node.active = !(0 < e.size);
            p.operEvent.emit({action: p.default.dealBtn, data: {isCan: 0 < e.size}});
            if (0 < e.size && MonoSingle.GetTvBoxInput().getSavePrePanelTop()==null)
            {
                MonoSingle.GetTvBoxInput().refreshPanel(0.2);
            }
        }),
        (S.prototype.addCoin = function (e, t, n, o, i) {
            var r,
                a = this,
                s = null;
            0 < this.idleCoins.length && (r = this.idleCoins.pop()) && (s = r.node),
                ((s = null == s ? cc.instantiate(this.coinPrefab) : s).parent = this.startNode),
                (s.active = !0),
                s.setPosition(0, 0);
            var c = s.getComponent(y.default);
            c.init(e), o && this.cellItems[e.cellIdx].showQuestionMark(c);
            s = this.cellItems[e.cellIdx].getPosition(this.startNode, n - t - 1, n);
            this.addCoinCounts.has(e.cellIdx)
                ? ((o = this.addCoinCounts.get(e.cellIdx)), this.addCoinCounts.set(e.cellIdx, o + 1))
                : this.addCoinCounts.set(e.cellIdx, 1),
                c.moveToCubic(s, this.dealCoinTime, t * this.dealCoinDelayTime, function () {
                    a.cellItems[e.cellIdx].addCoins([c]), t == n - 1 && i();
                });
        }),
        (S.prototype.checkShuffle = function () {
            var e = this.getCellAddCellCountMap(),
                t = 0;
            e.forEach(function (e) {
                t += e;
            });
            e = t <= this.minShuffleCount;
            p.operEvent.emit({action: p.default.shuffleBtn, data: {isCan: e}});
        }),
        (S.prototype.shuffle = function () {
            this.setMoveing(!0),
                this.setChoose(!1),
                this.addCoinCounts.clear(),
                v.shuffleCoin.shuffleCoinByCellNew(this.cellItems, this.moveCellByCoin.bind(this));
        }),
        (S.prototype.setChoose = function (e) {
            this.oldChooseIdx = null;
            for (var t = this.cellItems.length, n = 0; n < t; ++n) this.cellItems[n].setChoose(e);
        }),
        (S.prototype.moveCellByCoin = function (e) {
            var s = this;
            (!e && e.size <= 0) ||
                e.forEach(function (o, i) {
                    for (var r, a, e = o.length - 1; 0 <= e; --e)
                        !(function (e) {
                            var t = o[e],
                                n = t.node.convertToWorldSpaceAR(cc.Vec2.ZERO),
                                n = s.node.convertToNodeSpaceAR(n);
                            t.node.removeFromParent(),
                                (t.node.parent = s.node),
                                t.node.setPosition(n),
                                (r = s.cellItems[i].getPosition(s.node, e, o.length)),
                                (a = s.coinClearChangeDelayTime - e * s.coinClearDelayTime),
                                t.moveTo(r, a, e * s.coinClearDelayTime, function () {
                                    0 === e &&
                                        (s.cellItems[i].addCoins(o), s.cellItems[i].updateCell(), s.setMoveing(!1));
                                });
                        })(e);
                });
        }),
        r([t(cc.Node)], S.prototype, "cellParent", void 0),
        r([t(cc.Node)], S.prototype, "startNode", void 0),
        r([t({displayName: "金币切换格子移动时间"})], S.prototype, "coinChangeDelayTime", void 0),
        r([t({displayName: "金币移动之间的延迟"})], S.prototype, "coinDelayTime", void 0),
        r([t({displayName: "发金币移动时间"})], S.prototype, "dealCoinTime", void 0),
        r([t({displayName: "发金币移动之间的延迟"})], S.prototype, "dealCoinDelayTime", void 0),
        r([t({displayName: "金币 洗牌 切换格子移动时间"})], S.prototype, "coinClearChangeDelayTime", void 0),
        r([t({displayName: "金币 洗牌 移动之间的延迟"})], S.prototype, "coinClearDelayTime", void 0),
        r([e], S));
function S() {
    var e = (null !== c && c.apply(this, arguments)) || this;
    return (
        (e.cellParent = null),
        (e.startNode = null),
        (e.coinChangeDelayTime = 1),
        (e.coinDelayTime = 0.05),
        (e.dealCoinTime = 1),
        (e.dealCoinDelayTime = 0.05),
        (e.coinClearChangeDelayTime = 2),
        (e.coinClearDelayTime = 0.1),
        (e.cellItems = []),
        (e.oldChooseIdx = null),
        (e.isMoveing = !1),
        (e.mergeCellIdxs = []),
        (e.idleCoins = []),
        (e.coinPrefab = null),
        (e.addCoinCounts = new Map()),
        (e.minShuffleCount = 8),
        e
    );
}
n.default = e;
